package mvc.model.pojos;

import java.util.Date;

public class OrderBean {
    //订单编号
    private String oid;
    //产品编号
    private int pid;
    //交易价格
    private double price;
    //数量
    private int count;
    //总价
    private double sum;
    //地址编号
    private int anumber;
    //订单状态
    private String status;
    //下单时间
    private Date otime;

    public OrderBean() {
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }

    public int getAnumber() {
        return anumber;
    }

    public void setAnumber(int anumber) {
        this.anumber = anumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getOtime() {
        return otime;
    }

    public void setOtime(Date otime) {
        this.otime = otime;
    }

    public OrderBean(String oid, int pid, double price, int count, double sum, int anumber, String status, Date otime) {
        this.oid = oid;
        this.pid = pid;
        this.price = price;
        this.count = count;
        this.sum = sum;
        this.anumber = anumber;
        this.status = status;
        this.otime = otime;
    }
}

